<script>
    //1.使用'符号实现换行
    let str1 = `Hello,
      es6Demo`
    // console.log(str1)

    //2.在`中使用表达式来获取变量值
    let name = "Mike"
    let age = 18

    let str2=`hello ,${name} age is ${age+1}`
    console.log(str2)

    //3.在`中调用方法
    function f1(){
        return "hello f1"
    }
    let str3 = `demo ${f1()}`
    console.log(str3)
</script>